#include <my_head.h>
int main(int argc, const char *argv[]){
    FILE *fp = NULL;
    if(NULL == (fp = fopen("000.c", "w"))){
        printf("文件打开失败\n");
        exit(-1);
    }
    printf("文件打开成功\n");
    if(fclose(fp)){
        printf("文件关闭失败\n");
    }
    printf("文件关闭成功\n");

    printf("------\n"); 
    fclose(stdin);
    fclose(stdout);
    fclose(stderr);
    printf("|||||\n"); 
    return 0;
}